function route(handle,pathname,response,request){
    console.log("关于"+pathname+"的请求");
    if (typeof handle[pathname] === "function") {
        handle[pathname](response,request);
    }
    else {
        console.log("没有相应处理程序"+ pathname);
        // return "404 Not Found";
        response.writeHead(404,{"Content-Type":"text/html"});
        response.write("404 not found");
        response.end();
    }
}

exports.route = route;
